package io.github.wanggit.antcms.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.github.wanggit.antcms.server.domain.AntArticle;
import io.github.wanggit.antcms.server.domain.AntArticleCatalog;

import java.util.List;

public interface ArticleCatalogService extends IService<AntArticleCatalog> {
    void saveOrUpdateRelations(List<Long> catalogIds, AntArticle antArticle);

    List<AntArticleCatalog> findRelationsByArticle(AntArticle article);

    void deleteRelationsByArticle(AntArticle article);
}
